package com.company.cloud.user.modules.mgr.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.company.cloud.common.bean.LoginSimpleUserInfo;
import com.company.cloud.user.modules.api.request.AuthUrlConfigAddRequest;
import com.company.cloud.user.modules.api.request.AuthUrlConfigQueryRequest;
import com.company.cloud.user.modules.api.request.AuthUrlConfigUpdateRequest;
import com.company.cloud.user.modules.api.request.ServiceUrlConfigAddRequest;
import com.company.cloud.user.modules.api.response.AuthUrlConfigResp;

public interface UrlAuthConfigMgrService {


    public void addBatch(ServiceUrlConfigAddRequest params);

    public void  addUrl2Cache();

    public IPage<AuthUrlConfigResp> query(AuthUrlConfigQueryRequest request);

    public AuthUrlConfigResp add(AuthUrlConfigAddRequest request,LoginSimpleUserInfo userInfo);

    public  AuthUrlConfigResp update(AuthUrlConfigUpdateRequest request,LoginSimpleUserInfo userInfo);

    public  AuthUrlConfigResp get(Integer id);

    public  void del(Integer id,LoginSimpleUserInfo userInfo);
}
